import { defineStore } from "pinia";

const useOrderStore = defineStore("order", {
  state: () => {
    return {
      currentOrder: {},
    };
  },
  actions: {
    // 更新 pile
    setCurrentOrder(order) {
      this.currentOrder = order;
    },
  },
});

export default useOrderStore;
